package com.hehanpeng.springbootnetty.busi.busiservice;

import com.hehanpeng.springbootnetty.exception.ProtocolHandlerException;
import com.hehanpeng.springbootnetty.java8583.core.Iso8583CibMessage;
import com.hehanpeng.springbootnetty.model.entity.MsgEntity;

public interface BaseBusiService {
    /**
     * 业务消息处理
     *
     * @param message 待处理的消息
     * @return 有效的消息内容
     * @throws ProtocolHandlerException
     */
    MsgEntity execute(Iso8583CibMessage message) throws Exception;
}
